<?php

/**
 * @author zhuang<pingguoli@gmail.com>
 * @Date 2020/7/7 上午8:28
 *
 * @copyright Copyright 2020 - 2021
 */

namespace App\Http\Controllers\Api\Wechat;

use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Log;
use Illuminate\Http\Request;
use EasyWeChat\Factory;

class UserController extends BaseController
{
    public function index(Request $request)
    {
        $user = $this->getUser();

        return $this->json(['user'=>$user]);
    }
}